package com.wontube.smr.web.client;

import com.wontube.client.modle.vo.PagenateInfo;
import com.wontube.smr.web.client.model.po.Feedback;
import com.wontube.smr.web.client.model.vo.FeedbackItems;


/**
 * @author tanggf(2012-5-5)
 *
 */
public interface IFeedbackHandler {
	/**
	 * all valid feedback(exclude deleted)
	 * @param pageInfo
	 * @return
	 */
	FeedbackItems listFeedbacks(PagenateInfo pageInfo, Integer feedbackType);
	
	/**
	 * feedback posted by user
	 * @param feedback
	 * @return
	 */
	int postFeedback(Feedback feedback);	
}
